package com.bcinfo.iccard.model;

import java.io.Serializable;
import java.util.Date;

public class RechargeableCard implements Serializable
{
    /**
     * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)
     */
    private static final long serialVersionUID = 2210797011337095138L;

    /**
     * @Fields rechargeableCardId : 充值卡ID
     */
    private Long              rechargeableCardId;

    /**
     * @Fields rechargeableCardNum : 充值卡号
     */
    private String            rechargeableCardNum;

    /**
     * @Fields rechargeableCardPwd : 密码
     */
    private String            rechargeableCardPwd;

    /**
     * @Fields rechargeableCardAccountTotal : 剩余金额
     */
    private float             rechargeableCardAccountTotal;

    /**
     * @Fields rechargeableCardType : 充值卡类型
     *         0：新卡
     *         1：复用卡
     */
    private Short             rechargeableCardType;

    /**
     * @Fields rechargeableCardValidTime : 有效使用期
     */
    private Date              rechargeableCardValidTime;

    /**
     * @Fields rechargeableCardStatus : 充值卡状态
     *         0:入库
     *         1:出库
     *         2:激活
     *         3:冻结
     *         4:销户
     */
    private Short             rechargeableCardStatus;

    public Long getRechargeableCardId()
    {
        return rechargeableCardId;
    }

    public void setRechargeableCardId(Long rechargeableCardId)
    {
        this.rechargeableCardId = rechargeableCardId;
    }

    public String getRechargeableCardNum()
    {
        return rechargeableCardNum;
    }

    public void setRechargeableCardNum(String rechargeableCardNum)
    {
        this.rechargeableCardNum = rechargeableCardNum;
    }

    public String getRechargeableCardPwd()
    {
        return rechargeableCardPwd;
    }

    public void setRechargeableCardPwd(String rechargeableCardPwd)
    {
        this.rechargeableCardPwd = rechargeableCardPwd == null ? null : rechargeableCardPwd.trim();
    }

    public float getRechargeableCardAccountTotal()
    {
        return rechargeableCardAccountTotal;
    }

    public void setRechargeableCardAccountTotal(float rechargeableCardAccountTotal)
    {
        this.rechargeableCardAccountTotal = rechargeableCardAccountTotal;
    }

    public Short getRechargeableCardType()
    {
        return rechargeableCardType;
    }

    public void setRechargeableCardType(Short rechargeableCardType)
    {
        this.rechargeableCardType = rechargeableCardType;
    }

    public Date getRechargeableCardValidTime()
    {
        return rechargeableCardValidTime;
    }

    public void setRechargeableCardValidTime(Date rechargeableCardValidTime)
    {
        this.rechargeableCardValidTime = rechargeableCardValidTime;
    }

    public Short getRechargeableCardStatus()
    {
        return rechargeableCardStatus;
    }

    public void setRechargeableCardStatus(Short rechargeableCardStatus)
    {
        this.rechargeableCardStatus = rechargeableCardStatus;
    }

    /*
     * (non-Javadoc)
     * Description: <br/>
     * 
     * @return
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString()
    {
        return "RechargeableCard [rechargeableCardId=" + rechargeableCardId + ", rechargeableCardNum="
                + rechargeableCardNum + ", rechargeableCardPwd=" + rechargeableCardPwd
                + ", rechargeableCardAccountTotal=" + rechargeableCardAccountTotal + ", rechargeableCardType="
                + rechargeableCardType + ", rechargeableCardValidTime=" + rechargeableCardValidTime
                + ", rechargeableCardStatus=" + rechargeableCardStatus + "]";
    }

}